/**
 * 查询用户银行信息
 * @returns
 */
export const useGetUserBankInfoApi = () => {
    return useHttpPost("/v1/user/getUserBankInfo",{})
}

/**
 * 修改密码
 * @returns
 */
export const useUpdateUserPasswordApi = (body) => {
    return useHttpPost("/v1/user/update/password",{body})
}

/**
 * 修改用户资料
 */
export const useUpdateUserSettingsApi = (body) => {
    return useHttpPost(`/v1/user/center/update/settings`,{body})
}

/**
 * 修改账号
 */
export const useUpdateUserSettingsAccountApi = (body) => {
    return useHttpPost(`/v1/user/center/update/settings/account`,{body})
}

/**
 * 修改账号
 */
export const useUpdateUserSettingsTelApi = (body) => {
    return useHttpPost(`/v1/user/center/update/settings/telephone`,{body})
}
